package org.particlethink.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.particlethink.entry.LogType;
import org.particlethink.model.Log;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

@Mapper
public interface LogMapper extends BaseMapper<Log> {
    List<Log> selectLogsByTypeAndOtherId(@Param("type") LogType type,@Param("otherId") Integer otherId);
}
